﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AbpVueDemo.SystemBase.DictionaryTableManager
{
	/// <summary>
	/// 字典类别表 持久对象, 代表数据库中的一个表    lzh
	/// </summary>
	[Table("dictionary_type_table")]
	public class DictionaryTypeTable : AuditedEntity<string>
	{
		#region Model
		/// <summary>
		/// 字典类别
		/// </summary>
		[Key]
		[StringLength(100)]
		[Column("dt_type_key")]
		public override string Id
		{
			get; set;
		}
		/// <summary>
		/// 字典类别名称
		/// </summary>
		[Required]
		[StringLength(100)]
		public string dt_type_name
		{
			get; set;
		}
		/// <summary>
		/// 字典类别备注
		/// </summary>
		[StringLength(200)]
		public string dt_type_remark
		{
			get; set;
		}
		/// <summary>
		/// 
		/// </summary>
		[Required]
		public decimal dt_type_orderby
		{
			get; set;
		}
		///// <summary>
		///// 创建人登陆名
		///// </summary>
		//[Required]
		//[StringLength(100)]
		//public string creator_name
		//{
		//	get; set;
		//}
		///// <summary>
		///// 创建日期
		///// </summary>
		//[Required]
		//public DateTime creator_date
		//{
		//	get; set;
		//}
		///// <summary>
		///// 修改人登录名
		///// </summary>
		//[StringLength(100)]
		//public string modifi_name
		//{
		//	get; set;
		//}
		///// <summary>
		///// 修改日期
		///// </summary>
		//public DateTime? modifi_date
		//{
		//	get; set;
		//}
		#endregion Model
		/// <summary>
		/// 
		/// </summary>
		[Column("DictionaryTableId")]
		public List<DictionaryTable> DictionaryTables
        {
            get; set;
        }

    }
}
